<template>
  <div>
    <Tag v-if="data === true" type="dot" color="success">是</Tag>
    <Tag v-else-if="data === false" type="dot" color="error">否</Tag>
    <Tag v-else color="default">数据不匹配该显示类型</Tag>
  </div>
</template>
<script>
export default {
  name: "dtBoolean",
  props: ["data"],
  mounted() {}
};
</script>
